package com.dot.service;

import java.util.List;

import com.dot.vo.DwarfBookVo;
import com.dot.vo.DwarfPageVo;

public interface DwarfBookService {
	
	public void saveBook(DwarfBookVo book) throws Exception;
	
	public List<DwarfBookVo> getBookByParentCode(String pCode) throws Exception;
	
	public List<DwarfPageVo> getPageByBookCode(String bCode) throws Exception;
	
	public DwarfBookVo getBookByCode(String bCode) throws Exception;
	
	public List<DwarfBookVo> getRootBook() throws Exception;
	
	public List<DwarfBookVo> getAll() throws Exception;
	
}
